package com.moto.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.moto.repository.UserStoreRepository;
import com.moto.service.UserStoreService;

@Service("userStoreService")
public class UserStoreServiceImpl implements UserStoreService {

	@Autowired
	private UserStoreRepository userStoreRepository;

	@Override
	public int deleteByPostsId(String postsId) {
		return userStoreRepository.deleteByPostsId(postsId);
	}
}
